﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NailManager
{
    public partial class mButton : UserControl
    {
        string imagepath;

        public string Imagepath
        {
            get { return imagepath; }
            set { imagepath = value; }
        }
        public mButton()
        {
            InitializeComponent();
        }

        private void mButton_Load(object sender, EventArgs e)
        {
            BitmapRegion.CreateControlRegion(this, new Bitmap(imagepath));
        }
    }
}
